Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Modify  Basic  FTP  Site  Properties  

 Content of Modify Basic FTP Site Properties.vbs
MD5 Hash: F8376581CB914ACB9B20698F08ABDC9E
' Description: Demonstration script that modifies basic FTP site global metabase on an IIS server.


strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")

Set colItems = objWMIService.ExecQuery _
("Select * from IIsFtpServiceSetting")

For Each objItem in colItems
objItem.ConnectionTimeout = 600
objItem.DontLog = True
objItem.MaxConnections = 50
objItem.ServerComment = "This server is for IT use only."
objItem.Put_
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a